# Contributor:
# Maintainer: Steven Guikal <void@fluix.one>
pkgname=makedepend
pkgver=1.0.9
pkgrel=0
pkgdesc="utility for making makefile dependencies"
url="https://www.freedesktop.org/"
arch="all"
license="MIT-open-group"
makedepends="util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/util/makedepend-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
68d289656314dc9f12c792d0e394cfbc95404a0d01155dbcb38313d451b506da48a3d44183f568a2cbb2b1d1da9e26703a0d92f2bb658f72fc968eeb03bf2fe8  makedepend-1.0.9.tar.xz
"
